package com.zmn.oms.third.pinduoduo.service;

import com.zmn.oms.common.exception.chan.ChannelFacadeException;
import com.zmn.oms.model.entity.chan.OrderClue;

/**
 * 类描述：
 *
 * @author lhl
 * @date 2021/01/05 15:42
 */
public interface PinDuoDuoBService {

    /**
     * 创建新单
     * @param params
     * @throws ChannelFacadeException
     */
    void createOrder(OrderClue orderClue, String params) throws ChannelFacadeException;

    /**
     * 预约通知处理
     * @param params
     * @throws ChannelFacadeException
     */
    void appointOrder(OrderClue orderClue, String params) throws ChannelFacadeException;

    /**
     * 取消订单
     * @param params
     * @throws ChannelFacadeException
     */
    void cancelOrder(OrderClue orderClue, String params) throws ChannelFacadeException;

    /**
     * 处理服务签约请求
     * @param params
     * @throws ChannelFacadeException
     */
    void signShop(String params) throws ChannelFacadeException;
}
